module.exports = {
  path: '/',
  data: { title: '游戏列表'},
  indexRoute: {onEnter: (nextState, replace) => replace('/gamelist')},
  childRoutes: [{
      path: 'gamelist',
      data: {title: '游戏列表'},
      getComponent(nextState, cb) {
        require.ensure([], (require) => {
          cb(null, require('../containers/Game/index'))
        })
      }
    }
  ]
}
